<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  <title>上海市审计地理信息分析平台</title>
  <link href="css/main.css" rel="stylesheet" type="text/css" />
  <link href="css/menu.css" rel="stylesheet" type="text/css" />
  <link href="css/password.css" rel="stylesheet" type="text/css" />

  <script src="js/jquery-3.4.1.min.js"></script>
  <script>
    $.ajax({
      type: "GET",
      url: "isLoginedServlet",
      success: function (result) {
        if (result == "false") {
          var link = "login.html";
          window.location.href = link;
        }
      }
    });
  </script>
  <script src="js/nav.js"></script>
  <script src="js/tab.js"></script>

</head>

<body class="calcite">
  <header class="clearfix">
    <div class="logo"><img src="img/title.png" alt="" /></div>
    <ul id="nav">
      <li class="top nodown">
        <a href="main.html" class="top_link "><span class="down"><img src="img/home.png"
              alt="" />&nbsp&nbsp首页</span></a>
      </li>
      <li class="top nodown">
        <a href="index.html" class="top_link"><span class="down"><img src="img/sys.png" alt="" />&nbsp&nbsp系统</span></a>
      </li>
      <li class="top nodown">
        <a href="index.html" class="top_link chosen"><span class="down"><img src="img/view.png"
              alt="" />&nbsp&nbsp密码修改</span></a>
      </li>
      <li class="time">
        <div id="showDay"></div>
        <div id="showDate"></div>
      </li>
      <li style="line-height: 64px;font-weight: 500;" class="time">
        <div id="showName"></div>
      </li>
    </ul>
    <div class="exit">
      <a> <img src="img/exit.png" alt="" />退出</a>
    </div>
  </header>

  <main class=" clearfix indexMain">
    <div class="login">
      <div class="login_name">
        <p>密码修改</p>
      </div>
      <div class="inputs">
        <div class="yhm">
          <div class="password-title">原密码</div><input type="password" id="oldPassword" placeholder="请输入原密码" />
        </div>
        <div class="pwd">
          <div class="password-title">新密码</div><input type="password" id="newPassword" placeholder="请输入新密码" />
        </div>
        <div class="pwd">
          <div class="password-title">确认密码</div><input type="password" id="confirmPassword" placeholder="请输入确认密码" />
        </div>
        <button id="changePasswordBtn">提交修改</button>
      </div>
    </div>
  </main>
</body>
<script type="text/javascript" src="js/basic/pidcrypt.js"></script>
<script type="text/javascript" src="js/basic/md5.js"></script>
<script src="js/password/password.js"></script>

</html>